﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

public class Login : MonoBehaviour
{
    private Button m_loginBtn;
    // Start is called before the first frame update
    void Start()
    {
        m_loginBtn = GameObject.Find("LoginBtn").GetComponent<Button>();

        m_loginBtn.onClick.AddListener(() => LoginSystem());
    }
    public void LoginSystem()
    {
        SceneManager.LoadScene("MainSystem");
    }
    // Update is called once per frame
    void Update()
    {
        
    }
}
